const symbols = require('log-symbols');
const chalk = require('chalk');

class logger {
    static error(...args) {
        args = args.length ? args : ["Log Wrong Information"];
        console.log(symbols.error, chalk.red(...args));
    }

    static success(...args) {
        args = args.length ? args : ["Log Success Information"];
        console.log(symbols.success, chalk.green(...args));
    }

    static log(...args) {
        args = args.length ? args : ["Log General Information"];
        console.log(...args);
    }
}

module.exports = logger;